import http from '@/common/utils/request.js'

export const userCart = {
	//获取列表
	getUserCartList(data){
		return http.get('/system/userCart/', {params:data, custom:{}})
	},
	//获取详情
	getItemById(data){
		return http.post('/system/userCart/getItemById/', data, {custom:{}})
	},
	//创建
	createUserCart(data){
		return http.post('/system/userCart/createAction/', data, {custom:{}})
	},
	//新增
	updateUserCart(data){
		return http.post('/system/userCart/updateAction/', data, {custom:{}})
	},
}